<!DOCTYPE html>
<head>
	<title>Facebook Login</title>
	<script type="text/javascript">
		@if(isset($error))
		try {
			window.opener.setMessage('{{$error}}');
		}
		catch (err) {
	        alert(err.description || err)
	    }
		@else
		window.opener.location.href='{{ URL::to('/multi-product-ads') }}';
		@endif
		window.close();
	</script>
</head>
</html>